﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ArchiveTime.ascx.cs"
    Inherits="Workflow.Alerts.Sublayouts.ProfileSettings.ArchiveTime" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxtoolkit" %>
<h2 class="settingsTitle">
    Archief periode</h2>
<div class="formcontainer">
    <div id="days" runat="server" class="boxRow">
        <asp:Label ID="lblPrice" AssociatedControlID="txtDays" runat="server" Text="Dagen:"
            CssClass="settingsLabel" />
        <telerik:RadNumericTextBox ID="txtDays" EnableEmbeddedBaseStylesheet="false" EnableEmbeddedSkins="false"
            Skin="workflow" runat="server" CssClass="styledInput styledInput635" ShowSpinButtons="false"
            MinValue="1" NumberFormat-DecimalDigits="0" Width="617px" />
        <%--<asp:RequiredFieldValidator ID="rfvDays" runat="server" ErrorMessage="Verplicht veld" Display="Dynamic" CssClass="valMessage"
            ControlToValidate="txtDays" />--%>
        <div class="clear">
        </div>
    </div>
    <asp:Label ID="lblUpdateSuccess" Text="Archief periode zijn bijgewerkt" runat="server"
        Visible="false" />
</div>
<div class="footerButtonContainer">
    <asp:Button ID="btnSave" runat="server" Text="Opslaan" OnClick="btnSave_Click" CssClass="styledButton styledButton75" />
    <asp:Button ID="btnExportArchive" runat="server" Text="Export volledig archief" OnClick="btnExportArchive_Click"
        CssClass="styledButton styledButton150" />
</div>
<asp:ValidationSummary ID="ValidationSummary1" runat="server" />
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<telerik:RadGrid ID="rgArchive" runat="server" AutoGenerateColumns="false" EnableEmbeddedBaseStylesheet="False"
    EnableEmbeddedSkins="False" Visible="false">
    <exportsettings hidestructurecolumns="true" excel-format="ExcelML" exportonlydata="true"
        ignorepaging="true" filename="Archive" openinnewwindow="true">
        <Excel Format="ExcelML" />
    </exportsettings>
    <mastertableview datakeynames="code">
        <Columns>
            <telerik:GridBoundColumn UniqueName="code" DataField="code" HeaderText="Code">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="location" DataField="location" HeaderText="Locatie">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="networkoperatorname" DataField="networkoperatorname"
                HeaderText="Netbeheerder">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="currentstatus" DataField="activitytypename"
                HeaderText="Status">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="activitytype" DataField="currentstatusname"
                HeaderText="Activiteit">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="actualstartdate" DataField="actualstartdate"
                HeaderText="Definitieve startdatum">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn UniqueName="actualenddate" DataField="actualenddate" HeaderText="Definitieve einddatum">
            </telerik:GridBoundColumn>
        </Columns>
    </mastertableview>
</telerik:RadGrid>

<script type="text/javascript">
    jQuery(document).ready(function() {
        workflow.form.radioButtonCtrl.SetupLabel();
    }); 
</script>

